+49 7142 993810 [email protected]
Author: unknown
License: ISC

License Content

# D-Text X GitLab Webhooks

Handles the GitLab Webhooks for the [D-Tect X Repository](https://gitlab.com/duerr-ndt/dtectx).

> IMPORTANT: Use Node.js LTS version.

## Getting started

1. Install - Node.js 20.13.1 LTS - NPM 10.8.0

2. Clone the project

```bash git clone [email protected]:duerr-ndt/dtectx.com.git cd dtectx.com npm install ```

3. Create the `.env` file:

```env # Port under which the server will be available SERVER_PORT = 8001

# GitLab User Name and Access Token GITLAB_ACCESS_TOKEN = Gitlab Access Token GITLAB_USER_NAME = GitLab User Name

# AWS Access Key ID and Secret Access Key AWS_ACCESS_KEY_ID = ID AWS_SECRET_ACCESS_KEY = Key

# Logging LOG_GITLAB_REQUESTS = false

# Secrets JWT_SECRET = Random secret SESSION_SECRET = Random secret ```

4. Start the dev environment

```bash npm start ```

## NPM Scripts

Run via: `npm run